package com.tuling.spring;

import org.springframework.transaction.TransactionDefinition;
import org.springframework.transaction.TransactionException;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.transaction.support.AbstractPlatformTransactionManager;
import org.springframework.transaction.support.DefaultTransactionStatus;

@EnableTransactionManagement
public class MineTransactionManager extends AbstractPlatformTransactionManager {
	@Override
	protected Object doGetTransaction() throws TransactionException {
		return null;
	}

	@Override
	protected void doBegin(Object transaction, TransactionDefinition definition) throws TransactionException {

	}

	@Override
	protected void doCommit(DefaultTransactionStatus status) throws TransactionException {

	}

	@Override
	protected void doRollback(DefaultTransactionStatus status) throws TransactionException {

	}
}
